# -*- coding: utf-8 -*-
# @Time    : 2022/7/16 10:30
# @Author  : feng
# @Email   : feng@163.com
# @File    : znx_zhkh_page.py
# @Software: PyCharm
from selenium.webdriver.common.by import By
from pages.login_page import LoginPage
from pages.base_page import BasePage

class ZhkhPage(BasePage):
    '''进入转换线索页面'''
    url='http://192.168.1.5:8081/crm/index.php?m=customer&a=add&leads_id=13'
    '''定位器'''
    name_locator=(By.ID,'name')
    baocun_locator=(By.NAME,'submit')

    def click_name(self):
        self.driver.find_element(*self.name_locator).click()  #点击下公司名称

    def click_baocun(self):
        self.driver.find_element(*self.baocun_locator).click()#点击保存


